package icu.zlz.emqx.domain;

public class PushMsg {
    private String topic;
    private Integer qos = 1;
    /**
     * 是否为保留消息
     */
    private boolean retained = false;

    /**
     * MQTT内容
     */
    private String content;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public Integer getQos() {
        return qos;
    }

    public void setQos(Integer qos) {
        this.qos = qos;
    }

    public boolean isRetained() {
        return retained;
    }

    public void setRetained(boolean retained) {
        this.retained = retained;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
